package com.bsoft.hospitalchs.adapter;

import android.widget.TextView;

import com.bsoft.hospitalchs.R;
import com.bsoft.hospitalchs.model.ClassHealth;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;


/**
 * User: ZRJ
 * Date: 2017/5/5
 * Email: 471564517@qq.com
 * Description:
 */
public class ClassAdapter extends BaseQuickAdapter<ClassHealth, BaseViewHolder> {


    public ClassAdapter() {
        super(R.layout.recyclerview_class_item);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, ClassHealth classHealth) {
        baseViewHolder.setText(R.id.tv_content, classHealth.getContent());
        TextView textView = baseViewHolder.getView(R.id.tv_name);
        textView.setText("kewu");
    }


}
